package com.example.taximeter.bean;


import java.util.List;

/**
 * 计价器管理_视图
 */
public class TaximeterView {

    private Integer id;//计价器id--主键

    private Integer factid;//计价器厂商id--外键

    private Integer jjqtypeid;//计价器型号id--外键

    private Integer priceid;//价格类别id--外键

    private String carno;//车牌号

    private Integer companyid;//出租车公司id--外键

    private String factname;//计价器厂商名称

    private String jjqtype;//计价器型号

    private String pricetype;//计价器价格类别

    private String companyname;//出租车公司名称

//    private List<CarInfo> carInfos;//出租车列表(批量用)

    private List<Taximeter> taximeters;//出租车计价器列表

    @Override
    public String toString() {
        return "TaximeterView{" +
                "id=" + id +
                ", factid=" + factid +
                ", jjqtypeid=" + jjqtypeid +
                ", priceid=" + priceid +
                ", carno='" + carno + '\'' +
                ", companyid=" + companyid +
                ", factname='" + factname + '\'' +
                ", jjqtype='" + jjqtype + '\'' +
                ", pricetype='" + pricetype + '\'' +
                ", companyname='" + companyname + '\'' +
//                ", carInfos=" + carInfos +
                ", taximeters=" + taximeters +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFactid() {
        return factid;
    }

    public void setFactid(Integer factid) {
        this.factid = factid;
    }

    public Integer getJjqtypeid() {
        return jjqtypeid;
    }

    public void setJjqtypeid(Integer jjqtypeid) {
        this.jjqtypeid = jjqtypeid;
    }

    public Integer getPriceid() {
        return priceid;
    }

    public void setPriceid(Integer priceid) {
        this.priceid = priceid;
    }

    public String getCarno() {
        return carno;
    }

    public void setCarno(String carno) {
        this.carno = carno;
    }

    public Integer getCompanyid() {
        return companyid;
    }

    public void setCompanyid(Integer companyid) {
        this.companyid = companyid;
    }

    public String getFactname() {
        return factname;
    }

    public void setFactname(String factname) {
        this.factname = factname;
    }

    public String getJjqtype() {
        return jjqtype;
    }

    public void setJjqtype(String jjqtype) {
        this.jjqtype = jjqtype;
    }

    public String getPricetype() {
        return pricetype;
    }

    public void setPricetype(String pricetype) {
        this.pricetype = pricetype;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

//    public List<CarInfo> getCarInfos() {
//        return carInfos;
//    }
//
//    public void setCarInfos(List<CarInfo> carInfos) {
//        this.carInfos = carInfos;
//    }

    public List<Taximeter> getTaximeters() {
        return taximeters;
    }

    public void setTaximeters(List<Taximeter> taximeters) {
        this.taximeters = taximeters;
    }
}
